package com.miyu.system;

import com.miyu.common.utils.baseDao.MiyuRepositoryFactoryBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * 系统应用程序
 *启动自管理jpa 管理处理 两种方式 1 启动类 2，dao调用时
 * @author longmy
 * @date 2022/06/23
 */
@EnableJpaRepositories(repositoryFactoryBeanClass = MiyuRepositoryFactoryBean.class)
@SpringBootApplication(scanBasePackages = {"com.miyu.*"})
public class SystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }

}
